var jsonNode = S(input, "application/json");

nodeList = jsonNode.jsonPath('$.customers[0:2]').elementList();